package club.yuyang.campus2mall.utils;

import lombok.Data;

@Data
public class Result {

    /**
     * 返回的数据
     */
    private Object data;

    /**
     * 返回的信息
     */
    private String message;

    /**
     * 响应代码
     */
    private String code;

    public Result(){

    }

    public Result(Object data,String message,String code){
        this.data = data;
        this.message = message;
        this.code = code;
    }


}
